/**
 * 
 */
package vt.ruminote.util;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;

/**
 * @author Jason
 *
 */
public class ActivityUtil {
    public static void goToActivity(Activity from, Class<?> to) {
        Intent intent=new Intent(from, to);  //设置启动新Activity的意图
        from.startActivity(intent);     //启动新的Activity
    }
}
